﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ProjetS5
{
    public class DB_Quest : DatabaseTable
    {
        public DB_Quest()
        {
        }

        /// <summary>
        /// Rewards that the quest gives.
        /// </summary>
        public DB_QuestReward Reward { get; set; }

        /// <summary>
        /// The level to take the quest.
        /// </summary>
        public byte RequiredLevel { get; set; }

        /// <summary>
        /// The level of the quest.
        /// </summary>
        public byte Level { get; set; }

        /// <summary>
        /// Characters who can turn the quest in.
        /// </summary>
        public List<DB_NonPlayableCharacter> Turners { get; set; }

        /// <summary>
        /// Characters who can give the quest.
        /// </summary>
        public List<DB_NonPlayableCharacter> Givers { get; set; }

        /// <summary>
        /// Quests to finish to take the quest.
        /// </summary>
        public List<DB_Quest> QuestsRequired { get; set; }

        /// <summary>
        /// Objectives to fulfil to be able to turn in the quest.
        /// </summary>
        public List<DB_Objective> Objectives { get; set; }

        /// <summary>
        /// Quest's name.
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// Quest's description.
        /// </summary>
        public string Description { get; set; }
    }
}
